import request from '@/utils/request'

export function fetchPermissionReleases(params) {
  return request({
    url: '/api/v1/permissionRelease',
    method: 'get',
    params
  })
}

export function addPermissionRelease(data) {
  return request({
    url: '/api/v1/permissionRelease',
    method: 'post',
    data
  })
}
